package edu.ucsc.mit2008.swan.core.template.model;

import java.util.List;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

import edu.ucsc.mit2008.swan.api.template.model.ISwanTemplateProperties;
import edu.ucsc.mit2008.swan.api.template.model.ISwanTemplateProperty;
import edu.ucsc.mit2008.swan.core.PackageInfo;

@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "swanTemplateProperties" , namespace = PackageInfo.SWAN_CORE_NAMESPACE)
@XmlRootElement(name = "swanTemplateProperties",  namespace = PackageInfo.SWAN_CORE_NAMESPACE)
public class SwanTemplateProperties implements ISwanTemplateProperties {

	@XmlElement(type=SwanTemplateProperty.class)
	private List<ISwanTemplateProperty> property;

	public List<ISwanTemplateProperty> getProperty() {
		return property;
	}

	public void setProperty(List<ISwanTemplateProperty> property) {
		this.property = property;
	}
}
